package zjitc.dao;


import zjitc.domain.Test;

import java.util.List;

/**
 * 用户操作的DAO
 */
public interface TestDao {

    public List<Test> findAll();

    void addUser(Test user);

    void deleteUser(String name);

    void updateUser(Test user,String checkName);

    Test findByName(String name);

    void registerUser(Test user);
}
